<template>
  <div class="applenav">
    <div class="left">
      <img src="../../assets/img/logo.png" alt="" />
    </div>
    <div class="right">
      <slot></slot>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
};
</script>
<style lang="less" scoped>
.applenav {
  display: flex;
  height: 54px;
  background: red;
  line-height: 54px;
  .left {
    width: 54px;
    height: 100%;
    img {
      width: 100%;
    }
  }
  .right {
    color: white;
  }
}
</style>